package net.itheima.mm.service;

import net.itheima.mm.entity.QueryPageBean;
import net.itheima.mm.pojo.Course;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CourseService {
    List<Course> findListByPage(QueryPageBean queryPageBean);

    Long findTotalListByPage(QueryPageBean queryPageBean);
}
